package com.oss.vo.oss.trade;

import com.oss.vo.oss.StudentBaseVO;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;

@Data
public class TradeManageVO extends StudentBaseVO {
    // ID
    private String id;
    // 交易日期
    private LocalDate tradeDate;
    private LocalTime tradeTime;
    // 合约代码
    private String instrumentCode;
    private String varietyCode;
    // 开平标志(数据字典)
    private String offsetFlag;
    // 备注
    private String remark;
    // 期权类型
    private String optionType;
    // 权利金单价
    private BigDecimal tradeSinglePrice;
    // 成交数量
    private BigDecimal tradeVolume;
    // 手续费
    private BigDecimal commission;
    // 权利金均价
    private BigDecimal premiumAveragePrice;
    // 今日结算价
    private BigDecimal todaySettlementPrice;
    // 昨日结算价
    private BigDecimal yesterdaySettlementPrice;
    // 交易编号
    private String tradeCode;
    private BigDecimal premium;
    private Integer taxFlag;
    // 数据来源 0:推送 1:系统添加
    private Integer dataSource;
    private Integer serialNumber;
    // 交易保证金(只有卖开才有)
    private BigDecimal tradeMargin;
}